<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<STYLE> {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; FONT: 12px verdana; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY><PRE><DIV id=initTimeCosts></DIV>
<DIV id=timeCosts></DIV>
<DIV id=Tc></DIV>
<SCRIPT language=javascript src="../../js/dtree/treeCheckBox.js" type=text/javascript></SCRIPT>
<SCRIPT>
/*xxx*/
function htmlToText(){	ho=document.getElementById('TreeView');	to=document.getElementById('TreeView_text');	to.value=ho.innerHTML;}
</SCRIPT>
<DIV id=TreeView></DIV>
<script type="text/javascript">

var rows = new Object;
var rowsPidIndex = new Object;

rows={'1' : {'id':'1', 'pid':'0', 'title':'个人桌面' },'2' : {'id':'2', 'pid':'0', 'title':'办公模式' },'3' : {'id':'3', 'pid':'0', 'title':'运营模式' },'4' : {'id':'4', 'pid':'0', 'title':'决策模式' },'5' : {'id':'5', 'pid':'0', 'title':'知识中心' },'6' : {'id':'6', 'pid':'0', 'title':'信息中心' },'7' : {'id':'100', 'pid':'1', 'title':'计划总结' },'8' : {'id':'101', 'pid':'1', 'title':'任务管理' },'9' : {'id':'102', 'pid':'1', 'title':'个人日记' },'10' : {'id':'103', 'pid':'1', 'title':'日程安排' },'11' : {'id':'104', 'pid':'1', 'title':'信息通知' },'12' : {'id':'200', 'pid':'2', 'title':'行政管理' },'13' : {'id':'201', 'pid':'2', 'title':'人事管理' },'14' : {'id':'209', 'pid':'2', 'title':'系统设置' },'15' : {'id':'1001', 'pid':'100', 'title':'部门计划总结' },'16' : {'id':'20011', 'pid':'200', 'title':'考勤管理' },'17' : {'id':'20012', 'pid':'200', 'title':'办公用品' },'18' : {'id':'20013', 'pid':'200', 'title':'文档管理' },'19' : {'id':'20014', 'pid':'200', 'title':'会议管理' },'20' : {'id':'20015', 'pid':'200', 'title':'车辆管理' },'21' : {'id':'20110', 'pid':'201', 'title':'人力档案' },'22' : {'id':'20111', 'pid':'201', 'title':'招聘面试' },'23' : {'id':'20112', 'pid':'201', 'title':'人事调动' },'24' : {'id':'20113', 'pid':'201', 'title':'员工文化' },'25' : {'id':'20114', 'pid':'201', 'title':'薪酬管理' },'26' : {'id':'20115', 'pid':'201', 'title':'绩效考核' },'27' : {'id':'20901', 'pid':'209', 'title':'用户管理' },'28' : {'id':'20902', 'pid':'209', 'title':'角色管理' },'29' : {'id':'20903', 'pid':'209', 'title':'角色授权' },'30' : {'id':'20904', 'pid':'209', 'title':'用户角色关联' },'31' : {'id':'2001101', 'pid':'20011', 'title':'测试菜单' }};

rowsPidIndex[0] = new Array('1','2','3','4','5','6') ;
 rowsPidIndex[1] = new Array('100','101','102','103','104') ; 
 rowsPidIndex[2] = new Array('200','201','209') ; 
 rowsPidIndex[200] = new Array('20011','20012','20013','20014','20015') ;
 rowsPidIndex[201] = new Array('20110','20111','20112','20113','20114','20115') ; 
 rowsPidIndex[209] = new Array('20901','20902','20903','20904') ;
 rowsPidIndex[20011] = new Array('2001101') ; 

</script>

<SCRIPT>
var ctree = new treeCheckBox( 'ctree'  , rows , rowsPidIndex ); 
ctree.iconPath='../../js/dtree/images/';
ctree.useCheckBox=true;
ctree.checkBoxName='menu[]';
ctree.checkBoxChecked='';
 ctree.toString( Tc );
</SCRIPT>
</PRE>


</BODY>

</HTML>
